
 package com.ami.kvm.jviewer.gui;
 
 import com.ami.kvm.jviewer.Debug;
 import com.ami.kvm.jviewer.JViewer;
 import java.io.File;
 import javax.swing.JFileChooser;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 public class DebugLogFileChooser
   extends Thread
 {
   private JFileChooser saveFileChooser;
   private File saveFile;
   private boolean run = true;
   
   public void run() {
     this.saveFileChooser = new JFileChooser();
     this.saveFile = Debug.out.getLogFile();
     this.saveFileChooser.setSelectedFile(this.saveFile);
     while (this.run) {
       int i = this.saveFileChooser.showSaveDialog(JViewer.getMainFrame());
       if (i == 0) {
         this.saveFile = this.saveFileChooser.getSelectedFile();
         Debug.out.initLog(this.saveFile);
       }
       this.run = false;
     }
   }
   
   public File getSelectedFile() {
     return this.saveFile;
   }
   
 
 
   public File getSaveFile()
   {
     return this.saveFile;
   }
   
 
 
   public void setSaveFile(File paramFile)
   {
     this.saveFile = paramFile;
   }
 }


/* Location:              D:\Users\tianlin\Downloads\JViewer.jar!\com\ami\kvm\jviewer\gui\DebugLogFileChooser.class
 * Java compiler version: 5 (49.0)
 * JD-Core Version:       0.7.1
 */